//
//  NavAndTbbarView.h
//  EJLX
//
//  Created by adc on 15/11/9.
//  Copyright © 2015年 江苏一键联信息科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface NavAndTbbarView : UIView


@property(nonatomic,strong)NavAndTbbarView *view;


@property(nonatomic,strong)UIButton *btnBack;
@property(nonatomic,strong)UIButton *leftBtn;
@property(nonatomic,strong)UIButton *rightBtn;
@property(nonatomic,strong)UIImageView *imgViewBg;
@property(nonatomic,strong)UILabel *lableTitle;
@property(nonatomic,retain)UIView *vc;

+(NavAndTbbarView *)shared;
-(UIView *)initViewWithFrame:(CGRect)frame title:(NSString *)title  leftBtn:(SEL)leftAction  leftImg:(NSString*)leftImg;

+(UIView*)initViewWithFrame:(CGRect)frame title:(NSString *)title  leftBtn:(SEL)leftAction  leftImg:(NSString*)leftImg rightBtn:(SEL)rightAction rightBtn:(NSString *)rightTitle andRightBtnFont:(CGFloat)font;
-(UIView*)initViewWithFrame:(CGRect)frame title:(NSString *)title  leftBtn:(SEL)leftAction  leftImg:(NSString*)leftImg rightBtn:(SEL)rightAction rightBtn:(NSString *)rightTitle andRightBtnFont:(CGFloat)font;
-(UIView*)initViewWithFrame:(CGRect)frame title:(NSString *)title  leftBtn:(SEL)leftAction rightBtn:(SEL)rightAction btnImg:(NSArray*)imgArr;


-(UIView *)initTabbarViewWithFrame:(CGRect)frame  title:(NSArray *)titleArr  leftBtn:(SEL)leftAction ;
-(UIView *)initTabbarViewWithFrame:(CGRect)frame  img:(NSArray *)imgArr tag:(int)tag Btn:(SEL)action titlelB:(NSArray *)titleArr;
@end
